// Bayesian Network
//   Elvira format 

bnet  "Lluvia" { 

// Network Properties

kindofgraph = "directed";
visualprecision = "0.00";
version = 1.0;
default node states = (presente , ausente);

// Variables 

node Lluvia(finite-states) {
kind-of-node = chance;
type-of-variable = finite-states;
pos_x =487;
pos_y =78;
relevance = 7.0;
purpose = "";
num-states = 2;
states = ("si" "no");
}

node Paraguat(finite-states) {
kind-of-node = chance;
type-of-variable = finite-states;
pos_x =492;
pos_y =265;
relevance = 7.0;
purpose = "";
num-states = 2;
states = ("si" "no");
}

// Links of the associated graph:

link Lluvia Paraguat;

//Network Relationships: 

relation Paraguat Lluvia { 
comment = "";
kind-of-relation = potential;
deterministic=false;
values= table (0.9 0.2 0.1 0.8 );
}

relation Lluvia { 
comment = "";
deterministic=false;
values= table (0.7 0.3 );
}

}
